PreviousNextTracker indexSee it online !

(139/308) 1218 - PHP parser (heredoc and nowdoc from PHP 5.3.0)

<?php

$t=<<<"EOF"
text - $i
EOF;
/\*
PHP 5.3.0 also introduces the possibility for Heredoc's to use double quotes in declarings
parsers message - ';' expectet
\*/


$t=<<<'EOF'
text - $i
EOF;
/\*
Nowdoc support was added in PHP 5.3.0. ($i inst variable)
parsers message - statement expectet
\*/

?>

Submitted kajmanus - 2009-09-14 08:52:48 Assigned
Priority 5 Labels
Status open Group None
Resolution None

Comments